// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.store-cart-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

  &__info-box {
    flex: 1;
    width: 100%;

    @media @desktop {
      width: auto;
    }
  }

  &__total-box {
    flex: none;
    width: 100%;

    @media @desktop {
      width: auto;
    }

    &--full {
      padding: 10px;

      @media @desktop {
        width: 100%;
      }
    }

    &--padded {
      @media @desktop {
        padding-right: 55px; // delete button + padding + gap
      }
    }
  }

  &__text {
    text-align: right;
    margin: 0;

    &--amount {
      color: @osu-colour-h1;
      font-size: 140%;
    }

    &--shipping {
      color: @osu-colour-f1;
      font-size: 90%;
    }
  }
}
